package com.medical.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.medical.system.model.Consultation;
import com.medical.system.vo.ConsultationVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface ConsultationMapper extends BaseMapper<Consultation> {
    Consultation findClientMenuByRoleId(@Param("clientId") Long clientId);
    IPage<Consultation> selectPage(IPage<Consultation> iPage, @Param("vo") ConsultationVo consultationVo);
}
